#ifndef FILELIST_H
#define FILELIST_H

#include <QWidget>
#include "filelistitem.h"
#include <QListWidgetItem>
namespace Ui {
class FileList;
}

class FileList : public QWidget
{
    Q_OBJECT

public:
    explicit FileList(QWidget *parent = nullptr);
    ~FileList();
    void addItem(FileListItem* item);
    void clear();
    void getSelectedItems(QList<QListWidgetItem*>* listItems);
    QListWidget* getListWidget();

private slots:

private:
    Ui::FileList *ui;
};

#endif // FILELIST_H
